
from OpenGL.GL import *
from Matrix44 import Matrix44

class DisplayObject3D:
    def __init__(self):
        self.transform = Matrix44()
        self.world = Matrix44()
        
        self.x = 0
        self.y = 0
        self.z = 0
        
        self.rotationX = 0
        self.rotationY = 0
        self.rotationZ = 0
        
        self.scaleX = 0
        self.scaleY = 0
        self.scaleZ = 0
        
        self.visible = True
    
    def getX(self):
        return self.transform.n14    
    def setX(self, x):
        self.transform.n14 = x
    def getY(self):
        return self.transform.n24
    def setY(self, y):
        self.transform.n24 = y
    def getZ(self):
        return self.transform.n34
    def setZ(self, z):
        self.transform.n34 = z

    def getWorld(self):
        return self.world
    
    def lookAt(self, targetObject, upAxis):
        pass
    